package org.wevil.vo.templates;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * word导出模板表格数据
 */
@Data
public class OutMonets {

    private String year;
    private String outMoney;
    private String saveMoney;
    private String totalMoney;

    public static List<OutMonets> getInstance() {
        List<OutMonets> res = new ArrayList<>();
        for (int i = 0; i < 3; i++) {
            OutMonets outMonets = new OutMonets();
            outMonets.setYear(i + "Year");
            outMonets.setOutMoney(i + "OutMoney");
            outMonets.setSaveMoney(i + "SaveMoney");
            outMonets.setTotalMoney(i + "TotalMoney");
            res.add(outMonets);
        }
        return res;
    }
}
